export const titles = {
	id: '编号',// id
	createdByName: '创建人',// createdByName
	path: '路径',// path
	method: '请求方法',// method
  desc: '描述',
	content: '内容',// content
	createdAt: '创建时间',// createdAt
	ip: 'IP',// ip
	jsonCode: 'jsonCode',// jsonCode
	httpCode: 'httpCode',// httpCode
	action: '操作',
	search: '创建人',
}
export const prompt = {
	id: '请输入' + titles.id,
	createdByName: '请输入' + titles.createdByName,
	path: '请输入' + titles.path,
	method: '请输入' + titles.method,
	content: '请输入' + titles.content,
	createdAt: '请选择' + titles.createdAt,
	ip: '请输入' + titles.ip,
	jsonCode: '请输入' + titles.jsonCode,
	httpCode: '请输入' + titles.httpCode,
	search: '请输入' + titles.search,
}
export const defaultSearchForm = () => {
	return {
		search: '',// createdByName
		createdAt: '',// createdAt
		startTime: '',// startTime
		endTime: '',// endTime
		page: 1,
		limit: 10,
	}
}
export const defaultInfoForm = () => {
	return {
		id: null,// id
		createdByName: null,// createdByName
		path: null,// path
		method: null,// method
		content: null,// content
		createdAt: null,// createdAt
		ip: null,// ip
		jsonCode: null,// jsonCode
		httpCode: null,// httpCode
	}
}
